package com.runen.wnhz.runen.bean;

import java.util.List;

public class LessonRelativeInfoBean {


    /**
     * re : 1
     * info : 获取成功
     * data : {"want_learn":"0","mylesson":"0","have_file":"1","is_file":"1","material_arr":[{"lesson_id":"6","title":"鲁班全书"},{"lesson_id":"5","title":"从零开始学习收纳"},{"lesson_id":"1","title":"我们就该这样吃"}],"titleList":[{"title":"敏捷概论","title_id":"1","next_list":[{"lid":"2","tid":"1","nid":"1","name":"1.敏捷概论","time":"6"}],"try_look":"1"},{"title":"敏捷的思想","title_id":"2","next_list":[{"lid":"2","tid":"2","nid":"1","name":"2.敏捷的起源","time":"8"}],"try_look":"1"},{"title":"敏捷的思想","title_id":"3","next_list":[{"lid":"2","tid":"3","nid":"2","name":"3.敏捷开发与瀑布开发","time":"8"}],"try_look":"1"}]}
     */

    private String re;
    private String info;
    private DataBean data;

    public String getRe() {
        return re;
    }

    public void setRe(String re) {
        this.re = re;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "LessonRelativeInfoBean{" +
                "re='" + re + '\'' +
                ", info='" + info + '\'' +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        /**
         * want_learn : 0
         * mylesson : 0
         * have_file : 1
         * is_file : 1
         * material_arr : [{"lesson_id":"6","title":"鲁班全书"},{"lesson_id":"5","title":"从零开始学习收纳"},{"lesson_id":"1","title":"我们就该这样吃"}]
         * titleList : [{"title":"敏捷概论","title_id":"1","next_list":[{"lid":"2","tid":"1","nid":"1","name":"1.敏捷概论","time":"6"}],"try_look":"1"},{"title":"敏捷的思想","title_id":"2","next_list":[{"lid":"2","tid":"2","nid":"1","name":"2.敏捷的起源","time":"8"}],"try_look":"1"},{"title":"敏捷的思想","title_id":"3","next_list":[{"lid":"2","tid":"3","nid":"2","name":"3.敏捷开发与瀑布开发","time":"8"}],"try_look":"1"}]
         */

        private String want_learn;
        private String mylesson;
        private String have_file;
        private String is_file;
        private List<MaterialArrBean> material_arr;
        private List<TitleListBean> titleList;

        public String getWant_learn() {
            return want_learn;
        }

        public void setWant_learn(String want_learn) {
            this.want_learn = want_learn;
        }

        public String getMylesson() {
            return mylesson;
        }

        public void setMylesson(String mylesson) {
            this.mylesson = mylesson;
        }

        public String getHave_file() {
            return have_file;
        }

        public void setHave_file(String have_file) {
            this.have_file = have_file;
        }

        public String getIs_file() {
            return is_file;
        }

        public void setIs_file(String is_file) {
            this.is_file = is_file;
        }

        public List<MaterialArrBean> getMaterial_arr() {
            return material_arr;
        }

        public void setMaterial_arr(List<MaterialArrBean> material_arr) {
            this.material_arr = material_arr;
        }

        public List<TitleListBean> getTitleList() {
            return titleList;
        }

        public void setTitleList(List<TitleListBean> titleList) {
            this.titleList = titleList;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "want_learn='" + want_learn + '\'' +
                    ", mylesson='" + mylesson + '\'' +
                    ", have_file='" + have_file + '\'' +
                    ", is_file='" + is_file + '\'' +
                    ", material_arr=" + material_arr +
                    ", titleList=" + titleList +
                    '}';
        }

        public static class MaterialArrBean {
            /**
             * lesson_id : 6
             * title : 鲁班全书
             */

            private String lesson_id;
            private String title;

            public String getLesson_id() {
                return lesson_id;
            }

            public void setLesson_id(String lesson_id) {
                this.lesson_id = lesson_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class TitleListBean {
            /**
             * title : 敏捷概论
             * title_id : 1
             * next_list : [{"lid":"2","tid":"1","nid":"1","name":"1.敏捷概论","time":"6"}]
             * try_look : 1
             */

            private String title;
            private String title_id;
            private String try_look;
            private List<NextListBean> next_list;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTitle_id() {
                return title_id;
            }

            public void setTitle_id(String title_id) {
                this.title_id = title_id;
            }

            public String getTry_look() {
                return try_look;
            }

            public void setTry_look(String try_look) {
                this.try_look = try_look;
            }

            public List<NextListBean> getNext_list() {
                return next_list;
            }

            public void setNext_list(List<NextListBean> next_list) {
                this.next_list = next_list;
            }

            @Override
            public String toString() {
                return "TitleListBean{" +
                        "title='" + title + '\'' +
                        ", title_id='" + title_id + '\'' +
                        ", try_look='" + try_look + '\'' +
                        ", next_list=" + next_list +
                        '}';
            }

            public static class NextListBean {
                /**
                 * lid : 2
                 * tid : 1
                 * nid : 1
                 * name : 1.敏捷概论
                 * time : 6
                 */

                private String lid;
                private String tid;
                private String nid;
                private String name;
                private String time;

                public String getLid() {
                    return lid;
                }

                public void setLid(String lid) {
                    this.lid = lid;
                }

                public String getTid() {
                    return tid;
                }

                public void setTid(String tid) {
                    this.tid = tid;
                }

                public String getNid() {
                    return nid;
                }

                public void setNid(String nid) {
                    this.nid = nid;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getTime() {
                    return time;
                }

                public void setTime(String time) {
                    this.time = time;
                }

                @Override
                public String toString() {
                    return "NextListBean{" +
                            "lid='" + lid + '\'' +
                            ", tid='" + tid + '\'' +
                            ", nid='" + nid + '\'' +
                            ", name='" + name + '\'' +
                            ", time='" + time + '\'' +
                            '}';
                }
            }
        }
    }
}
